<!DOCTYPE html>





<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 3.9.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/favicon.ico?v=7.4.0">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon.ico?v=7.4.0">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.ico?v=7.4.0">
  <link rel="mask-icon" href="/images/logo.svg?v=7.4.0" color="#222">

<link rel="stylesheet" href="/css/main.css?v=7.4.0">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css?v=4.7.0">


<script id="hexo-configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '7.4.0',
    exturl: false,
    sidebar: {"position":"left","display":"post","offset":12,"onmobile":false,"dimmer":false},
    copycode: {"enable":false,"show_result":false,"style":null},
    back2top: {"enable":true,"sidebar":false,"scrollpercent":false},
    bookmark: {"enable":false,"color":"#222","save":"auto"},
    fancybox: false,
    mediumzoom: false,
    lazyload: false,
    pangu: false,
    algolia: {
      appID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    },
    localsearch: {"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},
    path: 'search.json',
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    translation: {
      copy_button: '复制',
      copy_success: '复制成功',
      copy_failure: '复制失败'
    },
    sidebarPadding: 40
  };
</script>

  <meta name="description" content="0. 前言谈起音乐软件, 只钟情网易云音乐. 奈何版权太少, 歌单里好多音乐涉及到版权的问题无法听, 即使开了VIP也不行. 但是我们可以通过一些“奇淫技巧”来实现解锁灰色无版权歌曲，效果比开了黑胶VIP 还要强大. 声明：本工具只提供大家免费测试学习使用，请勿用作任何商业用途。">
<meta name="keywords" content="音乐">
<meta property="og:type" content="article">
<meta property="og:title" content="解锁网易云音乐灰色歌曲并试听">
<meta property="og:url" content="https://unix2dos.github.io/p/3a9129d9.html">
<meta property="og:site_name" content="Levon&#39;s Blog">
<meta property="og:description" content="0. 前言谈起音乐软件, 只钟情网易云音乐. 奈何版权太少, 歌单里好多音乐涉及到版权的问题无法听, 即使开了VIP也不行. 但是我们可以通过一些“奇淫技巧”来实现解锁灰色无版权歌曲，效果比开了黑胶VIP 还要强大. 声明：本工具只提供大家免费测试学习使用，请勿用作任何商业用途。">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="https://unix2dos.github.io/p/3a9129d9/2.jpg">
<meta property="og:image" content="https://unix2dos.github.io/p/3a9129d9/1.jpg">
<meta property="og:updated_time" content="2020-04-28T02:47:22.939Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="解锁网易云音乐灰色歌曲并试听">
<meta name="twitter:description" content="0. 前言谈起音乐软件, 只钟情网易云音乐. 奈何版权太少, 歌单里好多音乐涉及到版权的问题无法听, 即使开了VIP也不行. 但是我们可以通过一些“奇淫技巧”来实现解锁灰色无版权歌曲，效果比开了黑胶VIP 还要强大. 声明：本工具只提供大家免费测试学习使用，请勿用作任何商业用途。">
<meta name="twitter:image" content="https://unix2dos.github.io/p/3a9129d9/2.jpg">
  <link rel="canonical" href="https://unix2dos.github.io/p/3a9129d9">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome: false,
    isPost: true,
    isPage: false,
    isArchive: false
  };
</script>

  <title>解锁网易云音乐灰色歌曲并试听 | Levon's Blog</title>
  








  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .logo,
  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">
  <div class="container use-motion">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-meta">

    <div>
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Levon's Blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
        <h1 class="site-subtitle" itemprop="description">微信:  L6241425</h1>
      
  </div>

  <div class="site-nav-toggle">
    <button aria-label="切换导航栏">
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>


<nav class="site-nav">
  
  <ul id="menu" class="menu">
      
      
      
        
        <li class="menu-item menu-item-home">
      
    

    <a href="/" rel="section"><i class="menu-item-icon fa fa-fw fa-home"></i> <br>首页</a>

  </li>
      
      
      
        
        <li class="menu-item menu-item-archives">
      
    

    <a href="/archives/" rel="section"><i class="menu-item-icon fa fa-fw fa-archive"></i> <br>时光</a>

  </li>
      
      
      
        
        <li class="menu-item menu-item-categories">
      
    

    <a href="/categories/" rel="section"><i class="menu-item-icon fa fa-fw fa-th"></i> <br>分类</a>

  </li>
      
      
      
        
        <li class="menu-item menu-item-tags">
      
    

    <a href="/tags/" rel="section"><i class="menu-item-icon fa fa-fw fa-tags"></i> <br>标签</a>

  </li>
      <li class="menu-item menu-item-search">
        <a href="javascript:;" class="popup-trigger">
        
          <i class="menu-item-icon fa fa-search fa-fw"></i> <br>搜索</a>
      </li>
    
  </ul>

</nav>
  <div class="site-search">
    <div class="popup search-popup">
    <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocorrect="off" autocapitalize="none"
           placeholder="搜索..." spellcheck="false"
           type="text" id="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result"></div>

</div>
<div class="search-pop-overlay"></div>

  </div>
</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
            

          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
      <article itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block post">
    <link itemprop="mainEntityOfPage" href="https://unix2dos.github.io/p/3a9129d9.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Levon">
      <meta itemprop="description" content="Never Give Up">
      <meta itemprop="image" content="/images/avatar.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Levon's Blog">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">解锁网易云音乐灰色歌曲并试听

          
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              
                
              

              <time title="创建时间：2020-04-28 10:40:00 / 修改时间：10:47:22" itemprop="dateCreated datePublished" datetime="2020-04-28T10:40:00+08:00">2020-04-28</time>
            </span>
          
            

            
          
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/5-随笔/" itemprop="url" rel="index"><span itemprop="name">5-随笔</span></a></span>

                
                
                  ，
                
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/5-随笔/音乐/" itemprop="url" rel="index"><span itemprop="name">音乐</span></a></span>

                
                
              
            </span>
          

          
  
  <span class="post-meta-item">
    
      <span class="post-meta-item-icon">
        <i class="fa fa-comment-o"></i>
      </span>
        
      
      <span class="post-meta-item-text">Disqus：</span>
    
    <a title="disqus" href="/p/3a9129d9.html#comments" itemprop="discussionUrl"><span class="post-comments-count disqus-comment-count" data-disqus-identifier="p/3a9129d9.html" itemprop="commentCount"></span></a>
  </span>
  
  
          <br>
            <span class="post-meta-item" title="本文字数">
              <span class="post-meta-item-icon">
                <i class="fa fa-file-word-o"></i>
              </span>
              
                <span class="post-meta-item-text">本文字数：</span>
              
              <span>4.4k</span>
            </span>
          
            <span class="post-meta-item" title="阅读时长">
              <span class="post-meta-item-icon">
                <i class="fa fa-clock-o"></i>
              </span>
              
                <span class="post-meta-item-text">阅读时长 &asymp;</span>
              
              <span>4 分钟</span>
            </span>
          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <h3 id="0-前言"><a href="#0-前言" class="headerlink" title="0. 前言"></a>0. 前言</h3><p>谈起音乐软件, 只钟情网易云音乐. 奈何版权太少, 歌单里好多音乐涉及到版权的问题无法听, 即使开了VIP也不行.</p>
<p>但是我们可以通过一些“奇淫技巧”来实现解锁灰色无版权歌曲，效果比开了黑胶VIP 还要强大.</p>
<p>声明：本工具只提供大家免费测试学习使用，请勿用作任何商业用途。</p>
<a id="more"></a>

<h3 id="1-项目介绍"><a href="#1-项目介绍" class="headerlink" title="1. 项目介绍"></a>1. 项目介绍</h3><p><a href="https://github.com/nondanee/UnblockNeteaseMusic" target="_blank" rel="noopener">https://github.com/nondanee/UnblockNeteaseMusic</a></p>
<p>其原理是通过流量进入代理后来匹配网易链接进行劫持，然后将requests请求修改重新发送一个新的链接（这个链接就是provider的），请求到音乐以后再重新将provider的response改写成网易的，然后返回到应用，通俗的说是修改http请求和响应。</p>
<p>整个配置参考了这个项目,  唯一不足的是教程散落在仓库的各大 issue. 因为只常用 ios 和 mac 的设备,所以只测试了这两个平台, 上测试效果图:</p>
<p><img src="/p/3a9129d9/2.jpg" alt="1"></p>
<p><img src="/p/3a9129d9/1.jpg" alt="2"></p>
<h3 id="2-配置"><a href="#2-配置" class="headerlink" title="2. 配置"></a>2. 配置</h3><p>把项目下载到云服务器上, 直接 node app.js 即可运行. 因为 ios 和 mac 平台的特殊性, 需要加一些参数,参考下面配置.</p>
<h5 id="2-1-先给域名加个解析"><a href="#2-1-先给域名加个解析" class="headerlink" title="2.1 先给域名加个解析"></a>2.1 先给域名加个解析</h5><p>我这里给 music.liuvv.com 解析到云服务器ip</p>
<h5 id="2-2-启动systemctl-配置"><a href="#2-2-启动systemctl-配置" class="headerlink" title="2.2 启动systemctl 配置"></a>2.2 启动systemctl 配置</h5> <figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">[Unit]</span><br><span class="line">Description=music</span><br><span class="line">After=network.target</span><br><span class="line">[Service]</span><br><span class="line">ExecStart=/usr/bin/node /opt/UnblockNeteaseMusic/app.js -e https://music.liuvv.com -s -p 8080:8081</span><br><span class="line">Restart=always</span><br><span class="line">RestartSec=5</span><br><span class="line">[Install]</span><br><span class="line">WantedBy=default.target</span><br></pre></td></tr></table></figure>

<p>这里启动的参数格式是 node app.js -e 域名 -s -p  http端口:https端口</p>
<h5 id="2-2-nginx-配置"><a href="#2-2-nginx-配置" class="headerlink" title="2.2 nginx 配置"></a>2.2 nginx 配置</h5><figure class="highlight nginx"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line"><span class="section">server</span> &#123;</span><br><span class="line">  <span class="attribute">listen</span> <span class="number">443</span>;</span><br><span class="line">  <span class="attribute">server_name</span> music.liuvv.com; <span class="comment"># 改为自己的域名</span></span><br><span class="line"></span><br><span class="line">  <span class="attribute">ssl</span> <span class="literal">on</span>;</span><br><span class="line">  <span class="attribute">ssl_certificate</span> /etc/nginx/ssl/music/cert.pem; <span class="comment"># 改为自己申请得到的 crt 文件的名称</span></span><br><span class="line">  <span class="attribute">ssl_certificate_key</span> /etc/nginx/ssl/music/key.pem; <span class="comment"># 改为自己申请得到的 key 文件的名称</span></span><br><span class="line">  <span class="attribute">ssl_session_timeout</span> <span class="number">5m</span>;</span><br><span class="line">  <span class="attribute">ssl_protocols</span> TLSv1 TLSv1.<span class="number">1</span> TLSv1.<span class="number">2</span>;</span><br><span class="line">  <span class="attribute">ssl_ciphers</span> ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;</span><br><span class="line">  <span class="attribute">ssl_prefer_server_ciphers</span> <span class="literal">on</span>;</span><br><span class="line"></span><br><span class="line">  <span class="attribute">location</span> / &#123;</span><br><span class="line">    <span class="attribute">proxy_pass</span> http://localhost:8080; <span class="comment"># 转发</span></span><br><span class="line">  &#125;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>这里<code>ssl_certificate</code>和<code>ssl_certificate_key</code> 需要用 acme.sh 生成证书.</p>
<p> <a href="https://github.com/acmesh-official/acme.sh" target="_blank" rel="noopener">https://github.com/acmesh-official/acme.sh</a></p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">acme.sh --installcert -d music.liuvv.com \ </span><br><span class="line">--key-file       /etc/nginx/ssl/music/key.pem  \ </span><br><span class="line">--fullchain-file /etc/nginx/ssl/music/cert.pem</span><br></pre></td></tr></table></figure>

<h3 id="3-ios-使用"><a href="#3-ios-使用" class="headerlink" title="3. ios 使用"></a>3. ios 使用</h3><p>教程散落在这个 issue  <a href="https://github.com/nondanee/UnblockNeteaseMusic/issues/65" target="_blank" rel="noopener">https://github.com/nondanee/UnblockNeteaseMusic/issues/65</a></p>
<ul>
<li>去美区 appstore, 下载个小火箭</li>
</ul>
<ul>
<li>右上角加号添加节点</li>
<li>类型选择 HTTP</li>
<li>服务器填写你的服务器公网 IP</li>
<li>端口填写你启动服务的端口号（默认为 8080）</li>
<li>然后底部找到配置 点击本地文件 -&gt; default.conf -&gt; 编辑配置</li>
<li>添加三条规则 选项选择你刚刚添加的节点<ul>
<li><code>USER-AGENT</code>: <code>NeteaseMusic*</code></li>
<li><code>DOMAIN-SUFFIX</code>: <code>163.com</code></li>
<li><code>DOMAIN-SUFFIX</code>: <code>126.net</code></li>
</ul>
</li>
</ul>
<ul>
<li>打开网易云, 搜索周杰伦</li>
</ul>
<h3 id="4-mac-使用"><a href="#4-mac-使用" class="headerlink" title="4. mac 使用"></a>4. mac 使用</h3><p>mac 因为最新版本的原因(我的版本2.3.2 (832)),  需要通过自签证书解决https 请求.</p>
<p>教程散落在这个 issue <a href="https://github.com/nondanee/UnblockNeteaseMusic/issues/48" target="_blank" rel="noopener">https://github.com/nondanee/UnblockNeteaseMusic/issues/48</a></p>
<ul>
<li>安装仓库内的 CA证书到系统钥匙链, 并始终信任. </li>
<li>在系统偏好设置里, 网络-&gt;代理-&gt;自动代理配置里, 填写 url  <code>http://公网ip:8080/proxy.pac</code></li>
<li>打开网易云, 搜索周杰伦</li>
</ul>
<h3 id="5-一边科学上网一边"><a href="#5-一边科学上网一边" class="headerlink" title="5. 一边科学上网一边"></a>5. 一边科学上网一边</h3><p>在 mac下, 虽然可以通过系统代理达到目的, 但还是建议走代理软件. </p>
<p>我用的是 clashX, 先上 mac 的 clashX 配置</p>
<figure class="highlight yaml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">port:</span> <span class="number">7890</span></span><br><span class="line"><span class="attr">socks-port:</span> <span class="number">7891</span></span><br><span class="line"><span class="attr">allow-lan:</span> <span class="literal">false</span></span><br><span class="line"><span class="attr">mode:</span> <span class="string">Rule</span></span><br><span class="line"><span class="attr">log-level:</span> <span class="string">silent</span></span><br><span class="line"><span class="attr">external-controller:</span> <span class="number">127.0</span><span class="number">.0</span><span class="number">.1</span><span class="string">:9090</span></span><br><span class="line"></span><br><span class="line"><span class="attr">dns:</span></span><br><span class="line"><span class="attr">  enable:</span> <span class="literal">true</span></span><br><span class="line"><span class="attr">  listen:</span> <span class="number">0.0</span><span class="number">.0</span><span class="number">.0</span><span class="string">:53</span></span><br><span class="line"><span class="attr">  enhanced-mode:</span> <span class="string">fake-ip</span></span><br><span class="line"><span class="attr">  nameserver:</span></span><br><span class="line"><span class="bullet">   -</span> <span class="number">119.29</span><span class="number">.29</span><span class="number">.29</span></span><br><span class="line"><span class="bullet">   -</span> <span class="number">223.5</span><span class="number">.5</span><span class="number">.5</span></span><br><span class="line"></span><br><span class="line"><span class="attr">Proxy:</span></span><br><span class="line"><span class="attr">- name:</span> <span class="string">"UnblockMusic"</span></span><br><span class="line"><span class="attr">  type:</span> <span class="string">http</span></span><br><span class="line"><span class="attr">  server:</span> <span class="string">公网ip</span></span><br><span class="line"><span class="attr">  port:</span> <span class="number">8080</span></span><br><span class="line"></span><br><span class="line"><span class="string">Proxy</span> <span class="attr">Group:</span></span><br><span class="line"><span class="attr">- name:</span> <span class="string">"Netease Music"</span></span><br><span class="line"><span class="attr">  type:</span> <span class="string">select</span></span><br><span class="line"><span class="attr">  proxies:</span> </span><br><span class="line"><span class="bullet">    -</span> <span class="string">UnblockMusic</span></span><br><span class="line"><span class="bullet">    -</span> <span class="string">DIRECT</span></span><br><span class="line"></span><br><span class="line"><span class="attr">Rule:</span></span><br><span class="line"><span class="comment"># Unblock Netease Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,api.iplay.163.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,apm3.music.163.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,apm.music.163.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,interface3.music.163.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,interface.music.163.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,music.163.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,music.126.net,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN-SUFFIX,163yun.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN-SUFFIX,mam.netease.com,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN-SUFFIX,hz.netease.com,Netease</span> <span class="string">Music</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># CIDR规则</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,39.105.63.80/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,45.254.48.1/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,47.100.127.239/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.160.195/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.160.197/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.181.35/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.181.38/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.181.60/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,101.71.154.241/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,103.126.92.132/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,103.126.92.133/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,112.13.119.17/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,112.13.122.1/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,115.236.118.33/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,115.236.121.1/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,118.24.63.156/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,193.112.159.225/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,223.252.199.66/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,223.252.199.67/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.21.14/31,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.179.214/32,Netease</span> <span class="string">Music</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">IP-CIDR,59.111.238.29/32,Netease</span> <span class="string">Music</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Advertising</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,admusicpic.music.126.net,REJECT</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,iadmat.nosdn.127.net,REJECT</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,iadmusicmat.music.126.net,REJECT</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">DOMAIN,iadmusicmatvideo.music.126.net,REJECT</span></span><br><span class="line"></span><br><span class="line"><span class="comment"># Final</span></span><br><span class="line"><span class="bullet">-</span> <span class="string">MATCH,DIRECT</span></span><br></pre></td></tr></table></figure>

<p>启动这个配置再打开网易云, 加载速度就会特别丝滑. </p>
<p>但是大多数情况下需要一边科学上网一边听歌, 所以只需要把上面这个 Rule 规则合并你翻墙的规则里即可. 因为有规则优先级的顺序问题, 需要把上述 Rule 配置放到自己的 Rule 配置前面.</p>
<h3 id="6-参考资料"><a href="#6-参考资料" class="headerlink" title="6. 参考资料"></a>6. 参考资料</h3><ul>
<li><a href="https://github.com/nondanee/UnblockNeteaseMusic" target="_blank" rel="noopener">https://github.com/nondanee/UnblockNeteaseMusic</a></li>
<li><a href="https://www.yfriend.xyz/155.html" target="_blank" rel="noopener">https://www.yfriend.xyz/155.html</a></li>
</ul>

    </div>

    
    
    
        
      
        <div id="reward-container">
  <div>坚持原创技术分享，您的支持将鼓励我继续创作, 一个耿直的笑脸~</div>
  <button id="reward-button" disable="enable" onclick="var qr = document.getElementById(&quot;qr&quot;); qr.style.display = (qr.style.display === 'none') ? 'block' : 'none';">
    打赏
  </button>
  <div id="qr" style="display: none;">
        
      
      <div style="display: inline-block">
        <img src="/images/wechatpay.jpg" alt="Levon 微信支付">
        <p>微信支付</p>
      </div>
        
      
      <div style="display: inline-block">
        <img src="/images/alipay.jpg" alt="Levon 支付宝">
        <p>支付宝</p>
      </div>

  </div>
</div>

      

      <footer class="post-footer">
          
            
          
          <div class="post-tags">
            
              <a href="/tags/音乐/" rel="tag"># 音乐</a>
            
          </div>
        

        

          <div class="post-nav">
            <div class="post-nav-next post-nav-item">
              
                <a href="/p/dc81a411.html" rel="next" title="python爬虫项目在docker中的部署实践">
                  <i class="fa fa-chevron-left"></i> python爬虫项目在docker中的部署实践
                </a>
              
            </div>

            <span class="post-nav-divider"></span>

            <div class="post-nav-prev post-nav-item">
              
            </div>
          </div>
        
      </footer>
    
  </div>
  
  
  
  </article>

  </div>


          </div>
          
    
    
  <div class="comments" id="comments">
    <div id="disqus_thread">
      <noscript>Please enable JavaScript to view the comments powered by Disqus.</noscript>
    </div>
  </div>
  
  

        </div>
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">
        
        
        
        
      

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-3"><a class="nav-link" href="#0-前言"><span class="nav-number">1.</span> <span class="nav-text">0. 前言</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#1-项目介绍"><span class="nav-number">2.</span> <span class="nav-text">1. 项目介绍</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#2-配置"><span class="nav-number">3.</span> <span class="nav-text">2. 配置</span></a><ol class="nav-child"><li class="nav-item nav-level-5"><a class="nav-link" href="#2-1-先给域名加个解析"><span class="nav-number">3.0.1.</span> <span class="nav-text">2.1 先给域名加个解析</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#2-2-启动systemctl-配置"><span class="nav-number">3.0.2.</span> <span class="nav-text">2.2 启动systemctl 配置</span></a></li><li class="nav-item nav-level-5"><a class="nav-link" href="#2-2-nginx-配置"><span class="nav-number">3.0.3.</span> <span class="nav-text">2.2 nginx 配置</span></a></li></ol></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#3-ios-使用"><span class="nav-number">4.</span> <span class="nav-text">3. ios 使用</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#4-mac-使用"><span class="nav-number">5.</span> <span class="nav-text">4. mac 使用</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#5-一边科学上网一边"><span class="nav-number">6.</span> <span class="nav-text">5. 一边科学上网一边</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#6-参考资料"><span class="nav-number">7.</span> <span class="nav-text">6. 参考资料</span></a></li></ol></div>
        
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image"
      src="/images/avatar.jpg"
      alt="Levon">
  <p class="site-author-name" itemprop="name">Levon</p>
  <div class="site-description" itemprop="description">Never Give Up</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        
          <a href="/archives/">
        
          <span class="site-state-item-count">127</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
    
      
      
      <div class="site-state-item site-state-categories">
        
          
            <a href="/categories/">
          
        
        <span class="site-state-item-count">34</span>
        <span class="site-state-item-name">分类</span>
        </a>
      </div>
    
      
      
      <div class="site-state-item site-state-tags">
        
          
            <a href="/tags/">
          
        
        <span class="site-state-item-count">76</span>
        <span class="site-state-item-name">标签</span>
        </a>
      </div>
    
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
      
      
        
      
      
        
      
        <a href="https://github.com/unix2dos" title="GitHub &rarr; https://github.com/unix2dos" rel="noopener" target="_blank"><i class="fa fa-fw fa-github"></i>GitHub</a>
      </span>
    
      <span class="links-of-author-item">
      
      
        
      
      
        
      
        <a href="mailto:levonfly@gmail.com" title="E-Mail &rarr; mailto:levonfly@gmail.com" rel="noopener" target="_blank"><i class="fa fa-fw fa-envelope"></i>E-Mail</a>
      </span>
    
      <span class="links-of-author-item">
      
      
        
      
      
        
      
        <a href="https://twitter.com/levonfly" title="Twitter &rarr; https://twitter.com/levonfly" rel="noopener" target="_blank"><i class="fa fa-fw fa-twitter"></i>Twitter</a>
      </span>
    
      <span class="links-of-author-item">
      
      
        
      
      
        
      
        <a href="https://weibo.com/l6241425" title="Weibo &rarr; https://weibo.com/l6241425" rel="noopener" target="_blank"><i class="fa fa-fw fa-weibo"></i>Weibo</a>
      </span>
    
  </div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2020</span>
  <span class="with-love" id="animate">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Levon</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-area-chart"></i>
    </span>
    <span title="站点总字数">507k</span>
    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="fa fa-coffee"></i>
    </span>
    <span title="站点阅读时长">7:41</span>
</div>

        












        
      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js?v=3.1.0"></script>
  <script src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  <script src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script src="/js/utils.js?v=7.4.0"></script><script src="/js/motion.js?v=7.4.0"></script>
<script src="/js/schemes/pisces.js?v=7.4.0"></script>

<script src="/js/next-boot.js?v=7.4.0"></script>



  
  <script>
    (function(){
      var bp = document.createElement('script');
      var curProtocol = window.location.protocol.split(':')[0];
      bp.src = (curProtocol === 'https') ? 'https://zz.bdstatic.com/linksubmit/push.js' : 'http://push.zhanzhang.baidu.com/push.js';
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(bp, s);
    })();
  </script>








  <script src="/js/local-search.js?v=7.4.0"></script>














  

  

  

<script>
  function loadCount() {
    var d = document, s = d.createElement('script');
    s.src = 'https://levonfly.disqus.com/count.js';
    s.id = 'dsq-count-scr';
    (d.head || d.body).appendChild(s);
  }
  // defer loading until the whole page loading is completed
  window.addEventListener('load', loadCount, false);
</script>
<script>
  function disqus_config() {
    this.page.url = "https://unix2dos.github.io/p/3a9129d9.html";
    this.page.identifier = "p/3a9129d9.html";
    this.page.title = '解锁网易云音乐灰色歌曲并试听';};
  function loadComments() {
    if (window.DISQUS) {
      DISQUS.reset({
        reload: true,
        config: disqus_config
      });
    } else {
      var d = document, s = d.createElement('script');
      s.src = 'https://levonfly.disqus.com/embed.js';
      s.setAttribute('data-timestamp', '' + +new Date());
      (d.head || d.body).appendChild(s);
    }
  }
    window.addEventListener('load', loadComments, false);
  
</script>

</body>
</html>
